<!DOCTYPE html>
<html>
<head>
	<title>segway discovery</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width,user-scalable=yes" />
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/common.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/swiper.min.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/index.css">
	<link rel="stylesheet" type="text/css" href="<?= $domain['static'] ?>css/Validform.css">

</head>
<body>
	
	<?php
	// 这里是包含子模板方法
	$this->load->view('consumer/templates/header');
	?>

	<div class="swiper-container banner">
		<div class="swiper-wrapper">
			
		



				<?php 
				
				foreach ($carousel as $key => $value) { ?>
			

					<div class="swiper-slide">
						<a href="<?php echo $value["real_url"];?>" style="background-image: url(<?php echo $value["image"];?>);"></a></div>

				<?php } ?>




		</div>
		<div class="swiper-pagination"></div>
		<div class="swiper-button-next"></div>
		<div class="swiper-button-prev"></div>
	</div>
	<!-- search -->
	<div class="search">
		<div class="search_m">
			<div class="Country">
				<div class="Countryselect_box"></div>
				<div class="Countrylist select_option">
					<p></p>
					<ul>
						
					</ul>
				</div>
			</div>
			<div class="City">
				<!-- <div class="Cityselect_box"></div> -->
				<div class="Cityselect_box " data-id="0"><?php echo lang('site_select_none');?></div>
				<div class="Citylist select_option">
					<p></p>
					<ul>
						
					</ul>
				</div>
			</div>
			<div class="search_input">
				<input type="search" class="searchInput"></div>
			<div class="search_btn">
				<input type="submit" class="searchBtn" value="Go!"></div>
		</div>
	</div>
	<div class="map">
	
		<div id="map" style="width:100%;height:100%;"></div>
	</div>
	<div class="pro">
		<div class="pro_m">
			<h1 class="Recommend">
				<?php echo lang('site_recommend_tours');?>
				<p class="more">
					<a href="<?php echo site_url("touroute/search");?>"><?php echo lang('site_more');?></a>
				</p>
			</h1>
			<ul class="pro_list">
				
				


				<?php 
				
				foreach ($recommend["data"] as $key => $value) { ?>
					<li>
						<a href="<?php echo site_url("touroute/detail/{$value["id"]}");?>">
							<div class="pro_img">
								<img src="<?php echo $value["cover"];?>" alt=""></div>
							<h2 class="pro_title"><?php echo $value["name"];?></h2>
							<p class="money">
							<?php
								if (!empty($value["channel_currency"])) {
									
									 echo $header['currency_mapper'][$value["channel_currency"]] ;
								}

							 ?>
							

							 <?php echo $value["channel_amount"];?></p>
						</a>
					</li>




				<?php } ?>




			</ul>
		</div>
	</div>


	<?php
	// 这里是包含子模板方法
	$this->load->view('consumer/templates/footer');
	?>
	
	<!-- error or success -->
	<!-- error 预订和支付反馈-支付失败-->
	<div class="order_pay order_pay_error">
		<div class="order_pay_title">Booking failed</div>
		<div class="order_pay_con">
			You have not paid successfully, please go to your profile - Bookings, complete the reservation within 15 minutes, otherwise the order will be canceled automatically.
		</div>
		<div class="order_pay_btn">View</div>
	</div>
	<!-- success 预订和支付反馈-支付成功-->
	<div class="order_pay order_pay_success">
		<div class="order_pay_title">Booking success</div>
		<div class="order_pay_con">
			You have completed the order payment!
			<br>
			Produce vouchers to the merchant at the lease point.
			<br>Wish you to enjoy segway tour!</div>
		<div class="order_pay_btn">View</div>
	</div>
	<!--  密码修改成功提示-->
	<div class="password">
		<div class="password_con">
			You have change your password successfully.
			<br>You can log in now.</div>
		<div class="password_btn">ok</div>
	</div>
	<!-- 忘记密码-提示发送邮件到邮箱 -->
	<div class="password">
		<div class="password_con">
			We have sent an e-mail to your mailbox,
			<br>please click on the link, to change your password.</div>
		<div class="password_btn">ok</div>
	</div>











	<!-- <script type="text/javascript" src="<?= $domain['static'] ?>js/jquery-3.2.1.min.js"></script> -->
	
	<script src="<?= $domain['static'] ?>js/cookie.js"></script> 
	
	<script type="text/javascript" src="<?= $domain['static'] ?>js/swiper.min.js"></script>
	<script type="text/javascript" src="<?= $domain['static'] ?>js/Validform_v5.1_min.js"></script>
	<script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
	<script src="https://maps.googleapis.com/maps/api/js?key=<?php echo $search['google_ak'];?>&libraries=places&language=<?php echo $search['language'];?>"></script>
	
	<script type="text/javascript" src="<?= $domain['static'] ?>js/common.js"></script>
	<script type="text/javascript">
		var all = "<?php echo lang('site_select_none');?>"
	</script>
	<script type="text/javascript" src="<?= $domain['static'] ?>js/search.js"></script>
	<script type="text/javascript" src="<?= $domain['static'] ?>js/search_index.js"></script>
		<script type="text/javascript" src="<?= $domain['static'] ?>js/map.js"></script>
	<!-- <script type="text/javascript" src="<?= $domain['static'] ?>js/select.js"></script> -->
<script type="text/javascript" src="<?= $domain['static'] ?>js/index.js"></script>
</body>
</html>